package com.iot.core.data.entity;

import com.iot.core.data.BaseEntity;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "用户表",description = "")
@Table(value ="htuserex")
public class HtUserEx extends BaseEntity {

    @Schema(name = "密码错误日期",description = "")
    private  Date  lgerrDt ;

    @Schema(name = "密码错误次数",description = "")
    private  Integer  lgerrTimes =0;

    @Schema(name = "上次修改密码日期",description = "")
    private  Date  lstchangepwdDt ;

    @Schema(name = "登录次数",description = "")
    private  Integer  lgTimes =0;

    @Schema(name = "上次登录时间",description = "")
    private  Integer  lglstDt =0;

    @Schema(name = "上次登录IP",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  lglstIp ="";

    @Schema(name = "上次登录平台",description = "")
    private  Integer  lglstHtplatId =0;



}
